package cn.it.shop.lucene;

import java.util.List;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;

import cn.it.shop.pojo.Goods;

public interface LuceneService {

	public abstract List<Goods> queryGoods(String keyWord);

	public abstract void addGoods(Goods goods);

	public abstract void deleteGoods(int id);

	public abstract void updateGoods(Goods goods);
	// 运行时被动态切入的通知
	public void addGoodsProxy(JoinPoint joinPoint);
	// 环绕通知
	public List<Goods> queryGoodsProxy(ProceedingJoinPoint joinPoint);

}